import demo.EntityVsBusiness.Student;
import demo.EntityVsBusiness.StudentService;

import java.util.Arrays;

public class Main {
    public static void main( String[] args ) {
        int[] scores = { 85, 90, 78, 92, 88 };
        Arrays.sort(scores);
        for ( int i = 0; i < scores.length; i++ ) {
            System.out.print(scores[i] + " ");
        }
        int[][] array = {
                { 9, 8, 7 },
                { 6, 5, 4 },
                { 3, 2, 1 }
        };
        for ( int i = 0; i < array.length; i++ ) {
            Arrays.sort(array[i]);
            for ( int j = 0; j < array[i].length; j++ ) {
                System.out.print(array[i][j] + " ");
            }
            System.out.println();
        }

        Student student = new Student();
        student.setName("小明");
        student.setAge("18");
        StudentService studentService = new StudentService(student);
        studentService.printStudentName();


    }
}
